package ink.metoo.gude.module.security.service

import ink.metoo.gude.module.security.domain.ddl.User
import ink.metoo.gude.module.security.domain.dto.UpdateUserSettingDTO
import org.springframework.web.multipart.MultipartFile

interface UserService {

    fun fuzzySearch(n: String, size: Int): List<User>

    fun updateSetting(user: User, updateSetting: UpdateUserSettingDTO)

    fun uploadAvatar(user: User, file: MultipartFile): String


}